Yes, trout will eat cheese. Trout will accept any cheese, but you will need to hook it properly.
They eat soft cheese molded around a treble hook can catch fish.
Trout are predators and this is why you need to know how to tempt them when using flies and hard bait (lures). They will eat things like cheese and such but that’s just opportunity.
Cold water will harden the cheese and if the point of the hook is not visible, you may lose your bait.
Other basic trout fishing practices will apply as well.