Can I learn boxing / kickboxing at home?

I do have someone to sparr with,would it be possible or do I need a trainer?