You can install both packages.
Gmsh is installed on amd systems by unzipping a binary: dolfinx/Dockerfile at main · FEniCS/dolfinx · GitHub
so you might have to install gmsh from source (gmsh is pip installable, but does not always work out of the box). For more info on gmsh see: Gmsh: a three-dimensional finite element mesh generator with built-in pre- and post-processing facilities
For pyvista, see: Plot functions in dolfinx - #5 by dokken
Pyvistaqt requires some extra packages:
apt-get install -y --no-install-recommends python3-pyqt5 libgl1-mesa-glx # pyvistaqt
pip3 install pyvista pyvistaqt