Can alcohol and cocaine use from couple days ago give you anxiety and one episode of a heart palpitations ps. Might already had anxiety from past

Anxiety. Alcohol and coke can cause all kinds of problems including those you mention.
YES. Yes Cocaine can cause palpitations, chest pains, heart attacks, and even death. Mixing with other chemicals is even worse. There are better ways to deal with anxiety. Can you be a little more careful with what your momma gave you?
Yes. The withdrawal from Cocaine use as well as potential withdrawal from binge drinking could cause anxiety and palpitations, or it could be a component of generalized anxiety or panic disorder, or a mix of all 3.