Yes, my brother's switch crash all the time, and he always follows these steps below
"Holding down the Switch's power button for 12 seconds will force a shutdown and reset the Switch. You won't lose any saved data. After the console powers off, wait a few seconds, then tap the power button again, and it should reboot and work normally."