Working raspberry pi as develop machine

Hi all.
I’m not new using Home Assistant, but I will try to switch to the next level!
I’m interesting in develop a new integration for H.A.
To write code and develop the components I thought to use my raspberry pi where my working Home Assistant Supervised is currently running.
In this way I thought to directly test the integration.

Is possible to do that or is better to configure a different machine to develop new H.A. components?