Yes. Honestly, the myth that you have to do the big four to gain the maximum amount of muscle that you possibly can, needs to be stopped. Stronger, yes. But if you want pure bodybuilding, training with all or mostly free weights are not required, it also increase the chance of injury and stress the joints. Although, sometimes they can be helpful.
I trained using mostly machines, never used crazy heavy weights (the weight I used are pathetic you might think) but I got great results. I probably did back squats not more than 5 times in my entire training career, but my legs are bigger than guys who can squat 315 lbs (from lunges, leg presses, leg extension,hamstring curl, machine hack squat, etc). I’d probably break my back if you ask me to do a barbell squat with 135 lbs now.
But then every one is different, one might benefit more from extra heavy training and one might benefit more from light but controlled training. Find what works for you