If the wheel and skewer are compatible, you can use a fixed gear bike with the trainer.
Keep in mind the maximum resistance and maximum power the trainer will be able to achieve will be lower than on a bike that has higher gears available. Using a bike with multiple gears is recommended.