They basically did that with the DMCA. The most trivial code made to "Protect" the data on the disk and it's already violating the law to even try and look at the data before you can reverse engineer anything.
Basically, the reality that allowed the IBM PC clone market to happen and democratize computers for the masses doesn't exist anymore.