The OSM practice is to map ways without public access, and tag them as access=private. There current consensus is they should not be deleted

https://wiki.openstreetmap.org/wiki/Why_we_won%27t_delete_roads_on_private_property

I find it can be helpful to also map gates, fences and barriers,  but  renderers and routing services generally display these ways as restricted