OSM relation ID in routing

Is it possible to use OSM relation ID in routing?
By config/profile or may be I can extend graphhopper for specific IDs

Powered by Discourse