weight loss

all i have is a treadmill in my house and i live in the country so there’s no gyms close to me but if i just use the treadmill 5 times a week and have a nice diet will i still see decent results ?