Exclude non-visible points from bake
Blender bakes based on the objects and their surface, it has nothing to do with the camera or the visibility. If you want to exclude parts from your bake, the only quick fix I see is to duplicate your object, scale all the UVs you don't want to one px and re-bake.