It is legal if those iPads are all yours and are based under your roof.
Each individual can use their own Apple ID for Facetime, iCloud and Messages and another for iTunes and AppStore.
Use the Apple ID used to purchase apps in Settings > iTunes & App Stores.
Use the individual Apple ID in:
Settings > Facetime
Settings > iCloud
Settings > Messages