If you purchase a new PC, it comes preloaded with some software, this is mostly just a convenience. You could reformat the drive, remove all the windows software and load Linux or similar software, as your operating system.
An ereader is essentially a computer built to specialize for the specific task of reading. In theory the same rules would apply. Is there anything preventing my from reformatting my kindle and installing an operation system that is not an Amazon product?