Yes, referring someone to AA if they know it will not work for them is just stupid. AA may work for some people but it cannot and should not be the only referral or treatment option - medication is going to be a better option for many. Unfortunately its much the same here
Funnily enough all of the above does actually work for some people, but it should absolutely never be the first or only option. When peole ask me if they should use medication, therapy, or 12 step programmes I would say all of the above