Offshore labor is already penalized: For tax purposes under Section 174, costs for US devs must be amortized over 5 years, while costs for offshore devs are amortized over 15 years.
And yet, many firms continue to offshore to Central America, South America, Eastern Europe, and India for technology labor (Africa as well for ML/AI data labeling). Lots of room for policy to run here.