** yes you can but this is very diffecult for any one
and if you do this what make programmers and all design programming lanaguages to make things
easily comparing by machine code
and this is project as you ask
it’s an OS written in machine code it’s still under developing
http://www.magicschoolbook.com/computing/os-project
note : your name is like my name iam glad to answer you
best wishes**
1
solved Can I write an OS in machine code? [closed]