Yes, you can! You'll just need to make sure you have the right type of bike to do so. You'll want to increase your speed and increase the resistance of your bike to really get your heart rate up. As an example, you could do this (as an example) is pedaling 30 MPH while you're set to a level 3 resistance.