Depending on which region you're in, "feeling yourself" can be equivalent to touching yourself in any sense, either that be erotic or not; however, it is not directly related to masturbation. But to say that "feeling yourself" does not give the connotation of any self-induced erotic pleasure would to incorrect.

For example, if you were stroking your arm out of habit, an English speaker may say with a specific tone to stop feeling yourself. What the speaker meant is found in his/her voice inflection, but it is often presumed that the person felt uncomfortable as he/she saw your behavior to be sexual in nature -- when it's possibly not sexual.

A more recognized phrase, when referring to the same implications, would be "touching yourself," which is what more English may say rather than the prior. The reason is that the word "touch" holds a more clear understanding -- while "feeling" has more definitions but is also inter-changeable with the word "touch." So you're less likely to hear people tell you to stop "feeling yourself" and more likely to hear them saying, "Stop touching yourself."