Yes and no: Gold has many important properties and is relatively rare, but what really makes it expensive is that enough people agree that it's worth something.
If the only market for gold was for actual applications where gold is needed, the price would absolutely tank.