Yes, you can put a pillowcase on a wedge pillow, and it's often recommended for hygiene purposes.
Using a pillowcase can protect the pillow from dust, dirt, and sweat, and it's usually easier to wash a pillowcase than to clean the entire pillow.
However, you'll need to ensure that the pillowcase fits the shape and size of your wedge pillow.