You can say this as a fact.
Both can be abused enough to cause a person and others round them problems.
Both can cause physical problems, financial problems, legal problems and social problems.
They can be compared as drugs that can change your mental and physical ability while abusing them.
Now both can be taken within context and not cause problems. But I am talking about Abuse...not just casual beers here or there or having to take pain pills for medical reasons while following your doctors orders.
And even under controlled situations, it might not make a difference to someone who is addicted to the pills or to alcohol as both would be bad for that person.
But most of this is obvious.