You can do the installation yourself if you get a window unit or portable air conditioner. Most only require proper positioning (mounting to a window, for example) and plugging into an outlet.
However, it’s recommended to leave more complicated installations, like for central air conditioning, to the experts. They know what they're doing, and they can often complete the task in much less time.