I think the best possible thing your friend could do is seek help for her problem. If it did come down to her getting in trouble with law enforcement (which I doubt will happen), I believe they would look at her action to help herself as a positive and work with her if this is her first run-in with law enforcement.
It's still so fresh in my mind....the utter NEED to get meds any way I could and my disease not caring if it meant breaking the law.