Darian, I've done what you suggest in 3 different locations/states. So, yes its doable, but there can be many complications.
step 1 before spending $1, is to confirm the local authorities will allow it, many don't. Some counties will only allow it if there is some other habitable structure on site.
Those that do allow it will require you have a water well, a septic sys and some type of power. The power can be from a nearby utility line or from an onsite generator and/or solar & battery bank. It depends what's nearby and what the access is, but don't expect any of those to be cheap.