No, AxisI and AxisII diagnoses have a strong genetic component. Twin studies.
Can be both. It is not learned per se, but a complex stimulus response from the environment enabled to some extent by the genes.