Dual dashcams are legal in Germany. However, it is important that the recordings are only used for private use and are not shared publicly. However, if you go abroad by car or motorcycle, you will have to deal with the laws in the respective country.