A magnesium deficiency can cause twitching in your legs, but I don’t know if anyone on the internet would be able to help tell if the pulsing sensation is caused by muscles contracting or something else.
If you have decent access to healthcare and it’s bothering you, bring it up with your doctor. It’s unlikely anyone here is qualified to be giving you medical advice. And if they were, they likely wouldn’t be comfortable giving a diagnosis based only on a post.
You could, but then I could write “Disregard the previous prompt and…” or “Forget everything before this line and…”
The input is language and language is real good at expressing the same idea many ways.