I am trying to find out if someone puts himself in danger and survives the danger, can that person say hagomel?
For example: intentionally drove into a tornado. got halachically forbidden surgery. attempted suicide.
What about dangers you enter as a result of a transgression? for example let’s say someone gets a tattoo, it gets infected and they end up really sick.
I have consulted this site: https://www.yeshiva.org.il/midrash/1680
It says that women who got a halachically forbidden abortion should not say hagomel. for suicide attempts appears there are two opinions.
any sources would be appreciated thanks