it is possible for me to use the probe (proximity sensor in my case)

it is possible for me to use the probe (proximity sensor in my case) as a leveling probe and z homing endstop?
Possible?

@Matt_Wils how do i set the bltouch as a probe and at the same time as a z endstop? from what i understand i cant do that.

Msg BLTouch individual for assistance.