This is how Kaiser Permanent got started. A major US rail company found it was cheaper and better to hire own doctors to take care of employees.
https://news.ycombinator.com/item?id=16274478g
https://share.kaiserpermanente.org/article/history-of-kaiser...