Custom boards with libraries

Hi all,
For example I develop a custom board and add it to platformio. And I write several libraries that work with that board. is it possible to add this libraries to board json definition. For example I use a sensor in my board and if a project is started with these board system automatically add these libraries to project.
thanks.