Of course, but who would it hurt worse? Rarely do nation-states engage in conflict and not also hurt themselves in the process, the idea is that it hurts the target a lot worse than it hurts at home. You might say that humans often start fights knowing they are going to get hurt but feeling like the fight is justified. China has economic controls that the US does not, which gives it the ability to dodge which the US doesn't have in an economic fight.
But many chips are bought in the US, so China would be hurt quite significantly (you're saying the US would be put into a recession which means the US buys lots of chips).
What is your estimation of how many chips are sold in the US versus sold in China and manufactured into products there? Tell me your understanding of what percentage of products sold in the US and sold in China use chips manufactured in China vs in the US?