No this is not possible. Creating a Pyramid in CAD and using this is the way to go here.
In a rudimentary use case it could be enough to use a "Grid Surface" to model a pyramid shape. But this has a ton of drawbacks and it is obviously just a surface and not a solid.
