It’s just an example how the poster has some data in some app and exported it as PLY… there are different formats ( i do not know all point cload data formats). So there is a way and uou may have to elaborate your usecase to get a more suited answer from whoever may use some similar format or the same data source you use.
This info on blender.stackexchange.com is not consistent with the add-ons in Blender 4.2, (probably because it is 2-1/2 years old ) … there is no import_ply.py that was installed with the application. Its possible that the functionality is now integrated and does not require an add-on.
I did test importing some PLYs that I exported from Metashape as point clouds with vertex color and as meshes with vertex color (PLY format supports BOTH) but the color is not importing in either case.
It possible that by using Cloud Compare or Meshlab (both free), a colored point cloud might be exported in a way that will work in Blender but I would have to do more testing.
I was using binary format with PLY, so I might try using ASCII next just to see if that makes any difference, although it shouldn’t.