Yes, you can do that. The most transaction logs are generated on the destination drive, so if you have room there, then you are good.
You could also enable circular logging on the databases and not generate logs at all.
I prefer your method versus dismounting, I never like to do that if possible.