Change "break the law" to "go against the wishes of the copyright holder", and the answer is yes.
When you buy the device, it's yours.
The perception that copyright allows the copyright holder to dictate everything you do with a device or piece of content is spurious, and the more people realize that, the better.
http://www.eff.org/deeplinks/2009/02/apple-says-jailbreaking...
kb