If someone wants to install an advert app on their fridge (I assume in exchange for money) then fair enough.
If I buy a tv I shouldn't just have to accept that, now or in the future, the manufacturer will sell advertising on it.
No, it should be illegal even when done willingly. Because this worsens the bargaining position of everyone else.
The device that immediately springs to mind is the Kindle. You can choose to buy a version without ads, or save ~10% and accept ads.
That seems like a reasonable compromise.