Generally yes, if you have enough UOC left (24 is what most students take per semester), you can choose any subject, however I some may be restricted.
You also have to keep in mind about perquisites and co-requisites, subjects which you must have already taken or must be currently taking...