The first part of your scenario is simple enough. Just build a list view with a listening data view. Then nest a second list view in the listening view over the described association.
I must admit to being somewhat unclear on the second half of your query. Are you trying to retrieve all A objects that are linked a B object that is linked to a certain A object? I'm not entirely sure if I'm interpreting that correctly, but if I am the solution shouldn't be too difficult once you have a list of B objects. Simply pass the selection of B objects to a microflow and retrieve all your A objects over association over a loop.
I hope this helps; if it doesn't, please try being a bit more specific in your use case.