Yes, you can check the camshafts for wear by removing the valve covers, and yes, worn cam lobes can cause low compression.
Checking the camshafts is a
hell of a lot easier than replacing the engine, and it doesn't cost anything except for a few hours of your time.