@Telmo_Cardoso for me it is working as action itself BUT it gives error. In Appium logs i see next tap goes to double coordinates = outside mine screen

Thus for me it is working old way as:

new TouchAction((MobileDriver) driver).press(x,y).waitAction(Duration.ofMillis(50)).release().perform();
new TouchAction((MobileDriver) driver).press(x,y).waitAction(Duration.ofMillis(50)).release().perform();

Now in the latest version of Appium that is 6.1.0 things has changed for mobile actions. To work on mobile actions there is a class AndroidTouchAction/ IOSTouchAction.
Below is the code for some actions:

//Double Tap On Element
new TouchAction(androiddriver).press(PointOption.point(element.getLocation().getX(),element.getLocation().getY())).waitAction(WaitOptions.waitOptions(Duration.ofMillis(100))).release().perform();
new TouchAction(androiddriver).press(PointOption.point(element.getLocation().getX(),element.getLocation().getY())).waitAction(WaitOptions.waitOptions(Duration.ofMillis(100))).release().perform();