In many jurisdictions, throwing oneself towards a moving vehicle is considered to be a form of negligence or reckless endangerment, and can result in civil liability for damages caused to the vehicle or injuries sustained by the person who threw themselves into it. In some cases, it may also be considered a criminal offense, such as attempted fraud or assault.
Even if no physical damage or injuries occur, throwing oneself towards a moving vehicle can still be considered a form of harassment or intimidation, and could potentially lead to criminal charges.
It is important to note that the specific laws and regulations surrounding this issue can vary significantly from one jurisdiction to another, so it is always best to consult with an attorney or legal expert for specific advice based on the relevant laws in your area.