If it's based on the NES, the patents would have expired. So they're safe unless they are violating copyright laws. That would involve a straight out copy of the system boards, and firmware (assuming the NES even has firmware).
As for the accompanying carts, as long as they aren't sold in developed nations, noone is going to care if they are pirated. Most of those countries have larger concerns than enforcing American and Japanese IP.