Route over agricutural roads

Hey,
is it possible to optimize a route using roads, which have a specific “motor_vehicle” property in OpenStreetmap, for example “motor_vehicle”:“agricutural”?

Thanks!