(CRS317 and CRS305) per vlan

is it possible to connect two switchos (CRS317 and CRS305) per vlan?

Like having trunk ports on both switches?
https://wiki.mikrotik.com/wiki/Manual:CRS3xx_series_switches#Port_Based_VLAN

Please give some context…otherwise it is just a guessing game.

here is the connection I want to make:

******************************************************************** ----sfp (2 vlans)-- CRS305 (switchos) --------2x S+RJ10
|
CCR1036 ----- sfp ( 6 vlans) ------CRS317 (switchos)----- ---sfp (2 vlans)-- CRS305 (switchos)--------2x S+RJ10
|
******************************************************************** ----sfp (2 vlans)-- CRS305 (switchos) --------2x S+RJ10

Here is the connection plan:

CCR1036---sfp(6vlans)----> CRS317 ----sfp ( 3 vlans) ------> 3x CRS305 ----- (2 vlans on rj+10 by CRS305)