Yes, both are possible without any problems.