Arduino and ATMEL studio

Hello everyone,

I am using both Atmega324p and Atmega2560 and I am programming them in C in ATMEL studio.

Still I would like to use some libraries from arduino and I would like to know if I am able to program atmega2560 (arduino board) in ATMEL studio.

Thank you.