Probing Stellar Evolution through Spectral Analysis and Modelling of Massive Young Stellar Objects