May I ask if pygmt can add shapefile files

May I ask if pygmt can add shapefile files

Yes.

Is there any teaching in this area

one way is through Geopandas
here for example
https://www.generic-mapping-tools.org/agu24workshop/tut02_spe_pd_gpd.html