There are "new model" institutions that are doing that. I got my BSCS from Western Governors. Tuition covered everything. Books, certifications, etc. Any material I wanted beyond the course text was either available in their digital library or I would search for used to get a dirt cheap price on an older edition.
My partner is doing her degree now and her institution, in two cases... a math course and biology course, opted to use OpenStax text books. After looking through them, I liked them enough that I pick up the print editions for sub-$40 new and use them for refreshing things.