Definitely. My husband has had panic attacks. He went through a phase of having them years ago, always while driving by himself and of course he had to pull over and stop. And he thought it was to do with his heart and immediately I think he was in a vicious circle because this made him worry about having a heart attack. He had all kinds of tests at the hospital and was assured that his heart was fine and stopped having them. Then about 20 years later he had one again when we were out for a walk during covid, and we came home right away and when he relaxed at home he felt better. A couple of weeks later, again out for a walk, he had another one. This time I made him sit on a seat and we did long slow breathing together, with me counting, and after a few minutes he was fine again. He hasn’t had one since so maybe that’s because he knows they can easily be controlled. But I’m not sure what would happen if he had one when by himself.
But I think if you practiced something regularly like yoga or martial arts over a period of time, you’d stop getting them.