Yes, you may submit an application for a temporary resident visa. Your visa application will be assessed independently of your immigrant application and in accordance with the Regulations in force. An intention by a foreign national to become a permanent resident does not preclude them from becoming a temporary resident if the officer is satisfied that they will leave Canada by the end of the period authorized for their stay.