Yes, military members are allowed to have a side job; however, you might need to receive the proper authorization from your chain of command first. Since the mission comes first, other jobs that interfere with that won't be allowed.