Is it possible to count the number of squats with Computer Vision techniques?
Yes, this is a rather straightforward problem that should be able to be solved using openCV or ANNs.

Check out this paper to get you started: https://arxiv.org/pdf/1701.08936.pdf