Masks for sprites

Hi!

In my game I have few shapes for the sprites (circles, stars, squares) but many different textures.

Is possible to create ‘masks’ so I can use a shape like a star in many sprites, but with different textures?

Thanks