In theory, yes, but the main smartphone OSes aren't RTOSes, and making them such requires nontrivial reengineering.