I don’t think a polygon will help you, you really should be placing the access restriction on the road.

The real place to ask this is with the guys who make routing applications, there is a mailing list for them though I’m too lazy to dig its location, it’s one of the osm mailing lists.