To get back to the original query-
Yes, I believe such an arrangement would be suitable, with the joints you originally proposed. You would need to support the straight run of pipe adjacent to each flexible joint, with supports incorporating integral height adjustment so you can follow the tank...