Not necessary. The batter has enough moisture & moreover; it is greasy; hence the cupcake won’t stick to the liners. However, if you insist on doing so, then go ahead. Just don’t put too much oil in the liners.