"To perform the same code on another System, you need more than a few transistors, 64 kilobytes of RAM, and a small ROM with an even small BASIC interpreter. You need at least a small operating system, a much bigger Python interpreter, and a lot of libraries to perform the same actions in mostly the same amount of time."
Is anything actually stopping you writing it in baremetal x86 assembly if you wanted?
Of course not. Though baremetal x86 is probably not the best architecture to work with.
But, people routinely code to this sort of specs (minus the transistors count): the lowest end of NXP SoC spec has 1-4K RAM and 8-32K ROM (though probably high 5 figures transistors count, possibly low 6).
Is anything actually stopping you writing it in baremetal x86 assembly if you wanted?