Yes, the more you ride, the better you get at it. Concentrate on pedaling perfect pedal strokes, so that your upper body doesn't move at all. Watch your shadow. Try to pedal circles. At first you might get three good pedal strokes in a row. Then a few days later, you might pedal perfectly for 100 feet. As your pedaling gets rounder, your cadence will naturally increase.
Not coasting is good. You should only coast when you can't pedal fast enough in your biggest gear. Unless you are riding really long distance when you need to conserve energy. But shifting is also good. Learn when to shift so you maintain a good cadence going uphill, downhill, and on the flat. Shift down before you think you need to. Shift up early, too, before you run out of pedal rpms.