Is It Against The Law To Undertaking?

Can you get in trouble for overtaking?

.

Is undertaking illegal in USA?

Are you allowed to overtake?

Is it against the law to undertake?