@Jessie Yes, it's okay. A Ghost (Phyllocrania paradoxa) needs a container that is at least 6" tall and 4" wide. The one you linked to is 10" tall and 4" wide so it will work fine.
As with all mantids you need to give them a habitat based from their adult size. A Ghost comes in about 2", and using the mantid basic guideline the container at minimum needs to be three times taller (6"), and two times wider (4").