Front End Libraries Project in Codesandbox

Hi there,
I am planning to do front-end libraries project in React js. So can I use codesandbox instead of codepen which can helps in maintaining good folder structures ??

From my understanding there are no restrictions in where you decide to code up your projects. Some use github, codepen, or other platforms.