It is possible, but not useful.
Do this instead:
- Configure GRBL to home correctly during startup
- Set the travel limits in
$130
and$131
to match the actual machine limits - Enable
Soft Limits
with$20
= 1
Then the controller will not execute commands with coordinates moving the laser head beyond the platform limits.
The Hard Limits
set by additional switches are useful in CNC machines driving cutting tools that can stall the motors during overloads. A correctly configured laser machine will not lose steps during operation, so the controller always knows where the head is and can prevent out-of-bounds motions before they happen.
Edit to add: As described in your parallel thread, the machine is not correctly configured. You must measure and set the actual machine limits before proceeding.