Yes, muffins can be cooked without liners. For non-stick muffins tins, these need to be greased and floured before adding the batter. If you don’t, the muffins will stick. If you have a non-stick pan these generally don’t need to be greased. But depending in the quality of the pan they may need a light coating of grease before use.