Can I use any storage device to store user profiles using Profile Manager? I'm using the OS X server. I'm trying to use the Profile Manager. I need to create about 40 users (each user has yours workspace, desktop, etc.). Due to that, I estimate that the server will need about 1 TB to each user.

Can I use the storage device (external HD, RAID, etc) to store all those users profiles? What is the default folder to store it? How can I change that directory? I need to store the every configuration for each user.
I think what you are asking is how to enable (network) "Home Directories". Workstations need to be connected via Gigabit Ethernet for this to work well. For laptops, use "Portable Home Directories" over a robust Wi-Fi network (or Ethernet)

Yes, you can use any (direct-attched) storage device, though for 40TB, I would recommend a RAID over Thunderbolt (2 if possible).

In File Sharing, add or create a new shared folder on your external (direct-attached) storage, then click the check box to "Make available for home directories over... " and select a file sharing protocol (AFP or SMB).

Set up the Home Folder (directory) location in "mobility" using Profile Manager