@Codeberg Looking a bit further, I found codidact.org/ which seems to be an open-source alternative to StackExchange solutions already present.
And there was some discussion about possible ActivityPub intergration? Tho, from what I could get is there not much there...
meta.codidact.com/posts/288235