It's possible, but tricky. There are two ways to do this.
- Create a text frame and insert the table inside the text frame. Caveats here are that the text frame will not resize with the table, so you have to do that by hand. Also, if you use a tag with autonumbering for a table title, the autonumbering is disconnected from any tables in the main flow and also any tables in other text frames. In other words, if the table title is inside the text frame, the autonumbering restarts at 1 every time. Lastly, text frames inserted like this are floating and will not move with the text.
- Use an anchored frame, then insert a text frame inside the anchored frame, and then insert the table in the text frame. Set the position properties for the anchored frame to Run Into Paragraph. Tables inside an anchored frame will move with the text, but you run into the same issues with resizing the text frame. Oddly, the autonumbering does seem to connect to tables inserted in the main flow.
Also note that FrameMaker only runs around one side of either a text frame or an anchored frame, not both.