The AMIs come prepackaged with Nvidia CUDA 9, cuDNN 7, and Nvidia 385.54 drivers, and contain the Anaconda platform (supports Python versions 2.7 and 3.5).
CUDA support and Nvidia drivers imply access to GPUs.
The documentation indicates they were tested on p2.16xlarge so yes.