Absolutely, you are allowed to keep your dirt bike in your home or any other building. Although it is widely recognized that dirt motorbikes are made to resist the harsh elements of the outdoors, keeping them indoors is still the best option for storage.