I would say that "doing this project" and "to do this project" are delayed subjects of the verb "involves". The sentences do not look great to me written down. I'm not sure whether some punctuation might help, as you suggest.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
jasonkhlimI think both phrases in bold have adverbial meaning. Am I right?No. You can see that their function is that of subject if you rearrange them a bit, e.g., Doing this project involves a lot of work. (This is the more native way of saying it.)