As long as the private party is willing to sell the vehicle to you then you should be able to register and title the truck in your name and get car insurance for it in Indiana.
The Indiana Bureau of Motor Vehicles (BMV) told us that Indiana does not have a law stating a minimum age at which you can be a primary owner of a motor vehicle. Without a governing law, the BMV says that as long as that you can sign your name and understand what you are signing in regards to the purchase contract, title and registration documents, they will let the title and registration be put in your name only, even at age 17.
A private party or a dealership may be uneasy about selling a truck to you though, since as 17 year old teenager, you are still a minor. Contracts with minors are voidable so not all car dealers or private parties will sell a vehicle to a driver who is under the age of 18.
Because of this reason, the seller of a vehicle you want to purchase may require you to have a parent sign on the sales contract with you. Even with a parent signing on with you, the car should be able to be placed in your name as the primary owner.
A car insurance policy is a legal contact; so many auto insurance companies will not want to issue you, your own policy if you are only 17 years of age. Most car insurance carriers require those under the age of 18 have a parent or guardian sign on the insurance policy with them. Once you turn 18 that parent's name can come off the policy and it can be in your name only.