Anecdotally, I've seen many parents do this with mixed results. YMMV.
Not a judgement at all, but in the rocks paper scissors game of life, the iPad will always trump the book if the kids are given the option.
In our house the iPad and iMac are fairly strictly rationed. YouTube is never self directed, only family AirPlay time, like watching SpaceX launches and stuff like that.
The books just have to be put down at mealtimes. Sometimes I catch them reading under the table and pretend to be angry about it, but they’ve got me allll figured out, (and I love it).
But there are just so many amazing books to read out there and I think we are so hard-wired for story telling, just make reading a cherished daily activity, and the moment will come at some point from 5-7.