You could probably do an online course, or take a short course for less than 6 months (assuming of course that your visa is valid).
You will be applying for a visit visa while a permanent residence application is being processed, and so depending on your situation, they may or may not give you a...