Not the case. I know from having been in the middle of it. There are huge compounds created in India by these companies to do their work.
If the work could be moved to India that easily and could be done as well, it would have been moved to India permanently a long time ago. They never would have brought a lot of it back to the US and thus wouldn’t have needed H1bs.