Technically yes, but that depends on several factors. Remember, no matter what your goals are, your gains are made outside the gym while you’re resting. If you go to the gym every single day, you’re tearing yourself down without allowing your body time to recover and grow. Keep this up long enough and you could step into overreaching or overtraining territory which might mean months before you can effectively train again.
If your rest and nutrition are 100% on point and your training has plenty of variation, then yes you can workout every day. I still strongly recommend at least 1 rest day a week to aid in recovery. Always remember: bodybuilding and strength sports are marathons, not sprints. Don’t train like a madman and expect to make pro bodybuilder-level gains in a few short months. Gains take a long, long time and are the product of consistent and smart training, proper rest, and optimal nutrition.
Further Reading
Carfagno, D. G., & Hendrix, J. C. (2014). Overtraining syndrome in the athlete: current clinical practice. Current Sports Medicine Reports, 13(1), 45-51.
Foster, C. (1998). Monitoring training in athletes with reference to overtraining syndrome. Medicine and science in sports and exercise, 30, 1164-1168.