No, performing a barrel roll does not cause harm to your device. It is simply a fun, harmless Easter egg hidden in your browser.