Does it hurt? Then no, you shouldn’t squat in the MANNER in which you’re doing it.
You should still try to change a few things up though…
1. Decrease the weight
2. Change your stance width
3. Change from low bar to high bar or vice versa.
4. Try front squats or goblet squats
5. Shorten your range of motion (don’t go down as deep)
6. Change your tempo. 3 seconds down, 3 seconds up. This will also force you to reduce the weight, too.
Those are my most practical tips to stay squatting while you’re dealing with back pain.