That is the approach that is used, though it gets tricky. The items that an inmate can own have to be clear (so they can't be used to store contraband) and tamper proof... and if they're electric, run on regular batteries or wall current.
One of the considerations for this is that no-one is going to give wifi and unrestricted (and unmonitored) access to the internet at large. All of the "this is stuff that you can download" needs to be accessible via another set of servers hosted somewhere with all of the associated infrastructure.