Yes, yes you can. Will it produce any gains? Likely not. What does it depend on? Your body, recovery, and the results you’re looking for. I personally squat once a week - and for good reason. The article below from Whatsyourfit.net discusses in more detail how many days a week a lifter should squat.
How many days a week should you squat? Once again, this question is one that depends heavily on your goals. If your goal is strength, then you want to spend less time in the gym working on one single muscle group (1 day per movement or 1 squat day). If your goal is hypertrophy (or muscle growth) studies suggest that you spend at most 1-3 days in the gym working on that specific muscle group. However, the exact number of days you should go to the gym depends entirely on your body and a few factors that affect its ability to handle the movement.
Scholarly and professional articles that back up / supplement / correct this answer are below
https://link.springer.com/article/10.1007/s00421-005-0087-3
https://www.t-nation.com/training/squat-4-times-per-week-experiment