It’s undoubtedly a good idea. Especially if the room is damp or you have cement subflooring. Luckily, most of the best vinyl plank flooring brands come with cork or foam underlayment already attached.