Yes, you can. The wheels are not attached to the bike’s frame, and a new set of wheels can replace them with different dimensions. But changing the wheel size on a bike will be difficult. You have to buy an adapter to change the front wheel with a smaller one and more modifications like adding a lower front fork.