1. The doctor provided patients with numbing pills.

2. The doctor provided patients with anesthesia pills.

3. The doctor provided patients with narcotic pills.

(Are they the same and grammatical?)

1 and 3 are okay.

The word 'anesthesia' is a noun and is not used to describe another noun. Better to write '... pills for anesthesia.'