Yes, it's readily available to buy online from India for <$1/pill.
In practice there aren't legal repercussions. If you import scheduled drugs (adderall, opioids, etc.) and get caught that's obviously going to be a big issue. But with most prescription medications, the worst case scenario is that Customs will just toss your package. And the likelihood of that is low; the majority of the time it makes it through undetected.
I've done this in the past with another drug. In the US it was $30/month but from India I got 1000 pills for $30 + $40 expedited shipping. For me the big factor wasn't cost, but rather the convenience of not needing to go through the process of getting a prescription.