Depends on what jurisdiction you are in. But it doesn't matter anyway - if you don't do something about the problem your brain will be so scrambled in a year or two's time that you won't know anything about it. Get help.
I agree with Ray!
Nobody really answered your questions ... But the answer is "Probably".
Why? Because even though you are technically an adult, you are living in their house. So if they tell you to go to rehab and you don't, they can kick your arse to the curb.
I'm sure they could if they want to put in the time and effort to have you declared a danger to yourself. But YOU are the one who should be reaching out for rehabilitation if you value your own life.
Deciding to do acid and/or shrooms shows you cannot not make rational decisions. They can have you committed for your own safety. If that happens, then the state can keep you until they determine you are no longer a threat to yourself. So quit making stupid decisions, get counseling to deal with whatever you running from by taking drugs.