In this post there is a video showing how that works in RemNote.
Not sure how something like this could be achieved in Anytype.
@ignatovv mentioned ability to “create object from a text block”. Note my proposal/request is something quite different. I’d like all blocks to be Objects (ie. more granularity).