Lots of home treadmills include adjustable slope settings
https://treadmillspdfc431.clearhavendigest.com/posts/what-are-the-myths-and-facts-behind-gym-treadmill
Many home treadmills include adjustable incline settings, allowing you to simulate outside surface for more powerful legs and much better workout variety, whether you're training for hills or burning more calories.