If it greatly causes you harm (negatively impacts your health) then it’s haram. But if you believe it’s minor harm then it would be halal. In any case, I recommend you control your Nafs. First, you’ll be satisfying your parents, which is a great deed in Allah’s eyes. Second, you will strengthen your willpower, and third you will avoid some health risks.