Yes, it is legal but only issue is you never know when visa officer will be gone a send you final result of your application. and for sure you will get rejection and once you received the rejection, you loose your status in canada. For MPNP nomination, you have to maintain your status otherwise...