Most cans now have a plastic film on the inside to protect the food from getting a metalic flavor.
If you "cook" with a can you will probably burn out the inside of the can first to remove the film. If you leave the plastic intact it can be toxic when heated.