Is it recommended/allowable to get a Master's degree that is not directly related to my bachelor's degree?
It is definitely allowed and even recommended based on your current interests and future ambitions. I did my bachelor's degree in Electronics and Communication. But then I did my Master's degree in Computer science. And I have not regretted my decision on bit.