Solution 1:

It depends. If you have an Apple Developer account ($99 per year), you can create either a ad hoc distribution profile or use a development certificate. For more information on that, view here. Although it is called beta testing, it serves your purpose.

Now if you don't have an Apple Developer account, you can use jailbroken devices and Jailcoder. To use this method, follow the steps below:

  1. Jailbreak your iDevices. If you don't know which ones to use, google it.
  2. Make sure you have Xcode (Here if you don't have it)
  3. Download Jailcoder from here.
  4. Go through the "Guided Patch"
  5. Now develop your program. YOU CANNOT RUN IT ON AN IDEVICE YET!
  6. Open Jailcoder and drag-n-drop your .xcodeproj file into the box.
  7. Connect the jailbroken iDevice and configure Xcode as you would if you had a legit developer account (https://developer.apple.com/library/ios/documentation/ToolsLanguages/Conceptual/Xcode_Overview/RunYourApp/RunYourApp.html)
  8. Click run

An older video: http://www.youtube.com/watch?v=3NAm1MOGabw. Ignore the fact that it says Xcode 4. It works on Xcode 5.

Solution 2:

Yes. You'll need an Apple Developer account which costs 99 USD a year.

You'll be able to put your app on up to 100 devices. The enterprise program costs 299 USD and allows ad-hoc distribution of apps via configurator (for non-development purposes)