but can you make an OS using arm project?
Again, without specifying what arm you use... i can not tell anything. Arm ranges from 1kByte Flash 1kByte RAM M0 to severall GB A6 controllers you find in an IPhone... So a arm can run no OS to any Operating system out there you can imagine. It is a micro processor it can do touring complete things....
And codeblocks is basically a better notepad. So you can do anything in codeblocks you can do with a notepad, and you can program a whole Windows in notepad if you please, so you can also program a whole Operating system in codeblocks... No problem whatsoever
With your questions so vague you get answers so vague...