@adibrachid. Not at the moment no. In fact, you can't even fully query the layer's properties and values
[Scripting] Read all stack information including used resources
...not for the next quarter for sure.